package com.cashmama.market.api.domain.enums;

/**
 * @program: market-api
 * @description 订单记录类型
 * @author: frank
 * @create: 2019-12-26 15:38
 **/
public enum OrderRecordEnum {
    DOING(0, "进行中"),
    COMPLETED(1, "已完成");

    private Integer type;
    private String desc;

    OrderRecordEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public OrderRecordEnum setType(Integer type) {
        this.type = type;
        return this;
    }

    public String getDesc() {
        return desc;
    }

    public OrderRecordEnum setDesc(String desc) {
        this.desc = desc;
        return this;
    }
}
